<template name="afSelect_bootstrap3">
  <select {{attsPlusFormControlClass}}>
    {{#each this.items}}
    {{#if this.optgroup}}
    <optgroup label="{{this.optgroup}}">
      {{#each this.items}}
      <option {{afSelectOptionAtts}}>{{this.label}}</option>
      {{/each}}
    </optgroup>
    {{else}}
    <option {{afSelectOptionAtts}}>{{this.label}}</option>
    {{/if}}
    {{/each}}
  </select>
</template>
